package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.AppFile;
import com.xjgzinfo.usdp.service.dto.AppFileDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link AppFile} and its DTO {@link AppFileDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface AppFileMapper extends EntityMapper<AppFileDTO, AppFile> {


    default AppFile fromId(Long id) {
        if (id == null) {
            return null;
        }
        AppFile appFile = new AppFile();
        appFile.setId(id);
        return appFile;
    }
}
